<?php
return [
    "name" => "公共",
    "list" => [
        "获取手机验证码" => [
            "desc"  => "获取手机验证码<br/>用户注册:ext 用户名称<br/>忘记密码:ext code图形验证码，img_token图形验证码token<br/>重置密码:ext 原密码",
            "url"   => "/comv1/comcodephone/getcode",
            "method"=> "post",
            "param" => [
                "type" => [
                    "lable"         => "类型",
                    "type"          => "text",
                    "placeholder"   => "register用户注册 forget忘记密码 newtel绑定新号码 remake重置密码",
                    "value"         => "",
                ],
                "phone" => [
                    "lable"         => "手机号码",
                    "type"          => "text",
                    "placeholder"   => "手机号码",
                    "value"         => "",
                ],
                "ext" => [
                    "lable"         => "参数",
                    "type"          => "text",
                    "placeholder"   => "参数",
                    "value"         => "",
                ],
            ],
        ],
        "获取图形验证码" => [
            "desc"  => "获取图形验证码",
            "url"   => "/comv1/comcodeimg/getcode",
            "method"=> "post",
            "param" => [
            ],
        ],
        "网站文字" => [
            "desc"  => "获取网站文字",
            "url"   => "/comv1/com/getword",
            "method"=> "post",
            "param" => [
            ],
        ],
        "验证图形验证码" => [
            "desc"  => "验证图形验证码",
            "url"   => "/comv1/comcodeimg/checkcodeimg",
            "method"=> "post",
            "param" => [
                "img_token" => [
                    "lable"         => "img_token值",
                    "type"          => "text",
                    "placeholder"   => "上一步获取的img_token值",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "验证码",
                    "type"          => "text",
                    "placeholder"   => "验证码",
                    "value"         => "",
                ],
            ],
        ],
        "获取token用户信息" => [
            "desc"  => "获取token用户信息, token类型:shop_token, seller_token, token",
            "url"   => "/comv1/com/getinfo",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "TOKEN码",
                    "type"          => "text",
                    "placeholder"   => "对应key值 shop_token, seller_token, token",
                    "value"         => "",
                ],
            ],
        ],
        "获取幻灯列表" => [
            "desc"  => "获取幻灯列表",
            "url"   => "/comv1/slide/lists",
            "method"=> "post",
            "param" => [
                "cat_id" => [
                    "lable"         => "分类id",
                    "type"          => "text",
                    "placeholder"   => "分类id",
                    "value"         => "",
                ],
                "keyword" => [
                    "lable"         => "搜索关键词",
                    "type"          => "text",
                    "placeholder"   => "搜索关键词",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "当前页",
                    "type"          => "text",
                    "placeholder"   => "当前页",
                    "value"         => "1",
                ],
                "limit" => [
                    "lable"         => "条数",
                    "type"          => "text",
                    "placeholder"   => "条数",
                    "value"         => "12",
                ],
            ],
        ],
        "获取文章分类" => [
            "desc"  => "获取文章分类",
            "url"   => "/comv1/articlecat/lists",
            "method"=> "post",
            "param" => [
                "parent_id" => [
                    "lable"         => "上级分类id, 0为顶级分类",
                    "type"          => "text",
                    "placeholder"   => "上级分类id",
                    "value"         => "",
                ],
                "keyword" => [
                    "lable"         => "搜索关键词",
                    "type"          => "text",
                    "placeholder"   => "搜索关键词",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "当前页",
                    "type"          => "text",
                    "placeholder"   => "当前页",
                    "value"         => "1",
                ],
                "limit" => [
                    "lable"         => "条数",
                    "type"          => "text",
                    "placeholder"   => "条数",
                    "value"         => "12",
                ],
            ],
        ],
        "获取文章列表" => [
            "desc"  => "获取文章分类",
            "url"   => "/comv1/article/lists",
            "method"=> "post",
            "param" => [
                "cat_id" => [
                    "lable"         => "分类id",
                    "type"          => "text",
                    "placeholder"   => "分类id",
                    "value"         => "",
                ],
                "type" => [
                    "lable"         => "本分类or子分类",
                    "type"          => "text",
                    "placeholder"   => "0：搜索本类, 1：搜索子分类",
                    "value"         => "",
                ],
                "keyword" => [
                    "lable"         => "搜索关键词",
                    "type"          => "text",
                    "placeholder"   => "搜索关键词",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "当前页",
                    "type"          => "text",
                    "placeholder"   => "当前页",
                    "value"         => "1",
                ],
                "limit" => [
                    "lable"         => "条数",
                    "type"          => "text",
                    "placeholder"   => "条数",
                    "value"         => "12",
                ],
            ],
        ],
        "获取文章详情" => [
            "desc"  => "获取文章详情",
            "url"   => "/comv1/article/details",
            "method"=> "post",
            "param" => [
                "id" => [
                    "lable"         => "文章id",
                    "type"          => "text",
                    "placeholder"   => "文章id",
                    "value"         => "",
                ],
            ],
        ],
        "获取配置" => [
            "desc"  => "获取配置",
            "url"   => "/comv1/com/getsys",
            "method"=> "post",
            "param" => [
                "key" => [
                    "lable"         => "配置KEY",
                    "type"          => "text",
                    "placeholder"   => "shop_withdraw_fee:手续费比例",
                    "value"         => "",
                ],
            ],
        ],
        "获取地区列表" => [
            "desc"  => "获取配置",
            "url"   => "/comv1/com/getComAddress",
            "method"=> "post",
            "param" => [
                "pid" => [
                    "lable"         => "父级ID",
                    "type"          => "text",
                    "placeholder"   => "父级ID",
                    "value"         => "",
                ],
            ],
        ],
    ],
];
